package cn.star.jots.director.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class DirectorSaveParam {
    @ApiModelProperty(value = "导演id")
    Long id;
    @ApiModelProperty(value = "导演姓名")
    String name;
    @ApiModelProperty(value = "导演简介")
    String nationality;
    @ApiModelProperty(value = "导演海报")
    String poster;
    @ApiModelProperty(value = "导演简介")
    String intro;
    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date createTime;
    @ApiModelProperty(value = "更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date updateTime;
}
